home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmeGetPixmapData.z / XmeGetPixmapData
Text File  |  1998-10-30  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa - Returns details about a cached pixmap
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           #include <Xm/XmP.h>
  13.           BBBBoooooooolllleeeeaaaannnn XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa(
  14.           SSSSccccrrrreeeeeeeennnn ****ssssccccrrrreeeeeeeennnn,
  15.           PPPPiiiixxxxmmmmaaaapppp ppppiiiixxxxmmmmaaaapppp,
  16.           cccchhhhaaaarrrr ********iiiimmmmaaaaggggeeee____nnnnaaaammmmeeee,
  17.           iiiinnnntttt ****ddddeeeepppptttthhhh,
  18.           PPPPiiiixxxxeeeellll ****ffffoooorrrreeeeggggrrrroooouuuunnnndddd,
  19.           PPPPiiiixxxxeeeellll ****bbbbaaaacccckkkkggggrrrroooouuuunnnndddd,
  20.           iiiinnnntttt ****hhhhooootttt____xxxx,
  21.           iiiinnnntttt ****hhhhooootttt____yyyy,
  22.           uuuunnnnssssiiiiggggnnnneeeedddd iiiinnnntttt ****wwwwiiiiddddtttthhhh,
  23.           uuuunnnnssssiiiiggggnnnneeeedddd iiiinnnntttt ****hhhheeeeiiiigggghhhhtttt);
  24.  
  25.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  26.           This page documents Motif 2.1.
  27.  
  28.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.           Motif maintains a pixmap cache. This cache holds information
  30.           on the pixmaps currently in use. Use XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa to
  31.           determine if a specified _p_i_x_m_a_p is currently in the pixmap
  32.           cache. If it is, XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa returns the value True and
  33.           returns information for all eight of its output arguments.
  34.  
  35.           If _p_i_x_m_a_p is not in the pixmap cache,
  36.           XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaafetches _p_i_x_m_a_p from the server, caches
  37.           _p_i_x_m_a_p, and then returns False.  When XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa
  38.           returns False, only _d_e_p_t_h, _w_i_d_t_h, and _h_e_i_g_h_t are valid.
  39.  
  40.           XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa is relatively efficient because it gets the
  41.           data through a table lookup rather than through a server
  42.           request.
  43.  
  44.           _s_c_r_e_e_n    Specifies a pointer to the screen.
  45.  
  46.           _p_i_x_m_a_p    Specifies the desired pixmap.
  47.  
  48.           _i_m_a_g_e__n_a_m_e
  49.                     Returns the image name associated with _p_i_x_m_a_p.
  50.  
  51.                     The caller must not modify or free the returned
  52.                     data.
  53.  
  54.           _d_e_p_t_h     Returns the depth of the _p_i_x_m_a_p.
  55.  
  56.           _f_o_r_e_g_r_o_u_n_d
  57.                     Returns the foreground color associated with
  58.                     _p_i_x_m_a_p.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           _b_a_c_k_g_r_o_u_n_d
  75.                     Returns the background color associated with
  76.                     _p_i_x_m_a_p.
  77.  
  78.           _h_o_t__x     Returns the x-coordinate of the hotspot of
  79.                     _p_i_x_m_a_pif hotspot information was stored with the
  80.                     _p_i_x_m_a_p.
  81.  
  82.           _h_o_t__y     Returns the y-coordinate of the hotspot of
  83.                     _p_i_x_m_a_pif hotspot information was stored with the
  84.                     _p_i_x_m_a_p.
  85.  
  86.           _w_i_d_t_h     Returns the width of _p_i_x_m_a_p.
  87.  
  88.           _h_e_i_g_h_t    Returns the height of _p_i_x_m_a_p.
  89.  
  90.      RRRREEEETTTTUUUURRRRNNNN
  91.           Returns True if _p_i_x_m_a_p is in the image cache.  Otherwise, it
  92.           returns False.
  93.  
  94.      RRRREEEELLLLAAAATTTTEEEEDDDD
  95.           XXXXmmmmGGGGeeeettttPPPPiiiixxxxmmmmaaaapppp(3).
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.